/*
 * Vlabs Biological Web Elemments
 *
 * Copyright (c) 2009 Victor de la Torre (vdelatorre@cnio.es)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 * 
 * http://code.google.com/p/bwe/ 
 *
 */
(function($) {
	
	$.bwe.iHOP = function(width,height,ensemblid) {
	
		$.bwe.iFramed('ihop-if',$("#ihop"),'http://ubio.bioinfo.cnio.es/inb/iHOP/widget/ihop.php?cargo_ticket=69&widget_name=iHOP&ensemblId='+ensemblid,width,height,'<a href="http://www.ihop-net.org/ target="_blank">iHOP</a>');
	}
	
	$.bwe.FunCUT = function(width,height,ensemblid) {
	
		$.bwe.iFramed('funcut-if',$("#funcut"),'http://ubio.bioinfo.cnio.es/inb/FunCUT/widget/cgi-bin/runFunCUTwidget.cgi?cargo_ticket=69&widget_name=FunCUT&ensemblId='+ensemblid,width,height,'<a href="http://www.ihop-net.org/ target="_blank">FunCUT</a>');
	}
	
	$.bwe.SNP3D = function(width,height,ensemblid) {
	
		$.bwe.iFramed('snp3d-if',$("#snp3d"),'http://cargo.bioinfo.cnio.es/Widgets/snp/SNP3D.html?cargo_ticket=69&widget_name=SNP-3D&ensemblId='+ensemblid,width,height,'<a href="http://www.ihop-net.org/ target="_blank">SNP-3D</a>');
	}
	
	$.bwe.Banngle = function(width,height,ensemblid) {
	
		$.bwe.iFramed('bangle-if',$("#banngle"),'http://biomyn.mpi-inf.mpg.de/widget/cargo.php?cargo_ticket=69&widget_name=Banngle&ensemblId='+ensemblid,width,height,'<a href="http://www.ihop-net.org/ target="_blank">Banngle</a>');
	}

})(jQuery);